package day03.Khlx;
     //抽象类
public abstract class FuLei {
    public  void zxc(){
        System.out.println("zxc方法被调用！");
    }
    //抽象方法
    public abstract void asd();
    //方法重写
         public void anan(){
             System.out.println("测试方法重写！");
         }
    private String name;
    private String age;

    public FuLei() {
    }

    public FuLei(String name, String age) {
        this.name = name;
        this.age = age;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAge() {
        return age;
    }

    public void setAge(String age) {
        this.age = age;
    }
}
